Optimal. Leaf size=89 \[ \frac {20 x+37}{434 \left (5 x^2+3 x+2\right )^2}+\frac {2 (2290 x+2609)}{47089 \left (5 x^2+3 x+2\right )}-\frac {16}{343} \log \left (5 x^2+3 x+2\right )+\frac {32}{343} \log (2 x+1)+\frac {125624 \tan ^{-1}\left (\frac {10 x+3}{\sqrt {31}}\right )}{329623 \sqrt {31}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.08, antiderivative size = 89, normalized size of antiderivative = 1.00, number of steps used = 8, number of rules used = 7, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.350, Rules used = {740, 822, 800, 634, 618, 204, 628} \[ \frac {20 x+37}{434 \left (5 x^2+3 x+2\right )^2}+\frac {2 (2290 x+2609)}{47089 \left (5 x^2+3 x+2\right )}-\frac {16}{343} \log \left (5 x^2+3 x+2\right )+\frac {32}{343} \log (2 x+1)+\frac {125624 \tan ^{-1}\left (\frac {10 x+3}{\sqrt {31}}\right )}{329623 \sqrt {31}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 204
Rule 618
Rule 628
Rule 634
Rule 740
Rule 800
Rule 822
Rubi steps
\begin {align*} \int \frac {1}{(1+2 x) \left (2+3 x+5 x^2\right )^3} \, dx &=\frac {37+20 x}{434 \left (2+3 x+5 x^2\right )^2}+\frac {1}{434} \int \frac {308+120 x}{(1+2 x) \left (2+3 x+5 x^2\right )^2} \, dx\\ &=\frac {37+20 x}{434 \left (2+3 x+5 x^2\right )^2}+\frac {2 (2609+2290 x)}{47089 \left (2+3 x+5 x^2\right )}+\frac {\int \frac {39912+18320 x}{(1+2 x) \left (2+3 x+5 x^2\right )} \, dx}{94178}\\ &=\frac {37+20 x}{434 \left (2+3 x+5 x^2\right )^2}+\frac {2 (2609+2290 x)}{47089 \left (2+3 x+5 x^2\right )}+\frac {\int \left (\frac {123008}{7 (1+2 x)}-\frac {8 (-4171+38440 x)}{7 \left (2+3 x+5 x^2\right )}\right ) \, dx}{94178}\\ &=\frac {37+20 x}{434 \left (2+3 x+5 x^2\right )^2}+\frac {2 (2609+2290 x)}{47089 \left (2+3 x+5 x^2\right )}+\frac {32}{343} \log (1+2 x)-\frac {4 \int \frac {-4171+38440 x}{2+3 x+5 x^2} \, dx}{329623}\\ &=\frac {37+20 x}{434 \left (2+3 x+5 x^2\right )^2}+\frac {2 (2609+2290 x)}{47089 \left (2+3 x+5 x^2\right )}+\frac {32}{343} \log (1+2 x)-\frac {16}{343} \int \frac {3+10 x}{2+3 x+5 x^2} \, dx+\frac {62812 \int \frac {1}{2+3 x+5 x^2} \, dx}{329623}\\ &=\frac {37+20 x}{434 \left (2+3 x+5 x^2\right )^2}+\frac {2 (2609+2290 x)}{47089 \left (2+3 x+5 x^2\right )}+\frac {32}{343} \log (1+2 x)-\frac {16}{343} \log \left (2+3 x+5 x^2\right )-\frac {125624 \operatorname {Subst}\left (\int \frac {1}{-31-x^2} \, dx,x,3+10 x\right )}{329623}\\ &=\frac {37+20 x}{434 \left (2+3 x+5 x^2\right )^2}+\frac {2 (2609+2290 x)}{47089 \left (2+3 x+5 x^2\right )}+\frac {125624 \tan ^{-1}\left (\frac {3+10 x}{\sqrt {31}}\right )}{329623 \sqrt {31}}+\frac {32}{343} \log (1+2 x)-\frac {16}{343} \log \left (2+3 x+5 x^2\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.11, size = 78, normalized size = 0.88 \[ \frac {8 \left (-59582 \log \left (4 \left (5 x^2+3 x+2\right )\right )+\frac {217 \left (45800 x^3+79660 x^2+53968 x+28901\right )}{16 \left (5 x^2+3 x+2\right )^2}+119164 \log (2 x+1)+15703 \sqrt {31} \tan ^{-1}\left (\frac {10 x+3}{\sqrt {31}}\right )\right )}{10218313} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.14, size = 136, normalized size = 1.53 \[ \frac {9938600 \, x^{3} + 251248 \, \sqrt {31} {\left (25 \, x^{4} + 30 \, x^{3} + 29 \, x^{2} + 12 \, x + 4\right )} \arctan \left (\frac {1}{31} \, \sqrt {31} {\left (10 \, x + 3\right )}\right ) + 17286220 \, x^{2} - 953312 \, {\left (25 \, x^{4} + 30 \, x^{3} + 29 \, x^{2} + 12 \, x + 4\right )} \log \left (5 \, x^{2} + 3 \, x + 2\right ) + 1906624 \, {\left (25 \, x^{4} + 30 \, x^{3} + 29 \, x^{2} + 12 \, x + 4\right )} \log \left (2 \, x + 1\right ) + 11711056 \, x + 6271517}{20436626 \, {\left (25 \, x^{4} + 30 \, x^{3} + 29 \, x^{2} + 12 \, x + 4\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.16, size = 68, normalized size = 0.76 \[ \frac {125624}{10218313} \, \sqrt {31} \arctan \left (\frac {1}{31} \, \sqrt {31} {\left (10 \, x + 3\right )}\right ) + \frac {45800 \, x^{3} + 79660 \, x^{2} + 53968 \, x + 28901}{94178 \, {\left (5 \, x^{2} + 3 \, x + 2\right )}^{2}} - \frac {16}{343} \, \log \left (5 \, x^{2} + 3 \, x + 2\right ) + \frac {32}{343} \, \log \left ({\left | 2 \, x + 1 \right |}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.06, size = 68, normalized size = 0.76 \[ \frac {125624 \sqrt {31}\, \arctan \left (\frac {\left (10 x +3\right ) \sqrt {31}}{31}\right )}{10218313}+\frac {32 \ln \left (2 x +1\right )}{343}-\frac {16 \ln \left (5 x^{2}+3 x +2\right )}{343}-\frac {25 \left (-\frac {6412}{961} x^{3}-\frac {55762}{4805} x^{2}-\frac {188888}{24025} x -\frac {202307}{48050}\right )}{343 \left (5 x^{2}+3 x +2\right )^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 2.00, size = 77, normalized size = 0.87 \[ \frac {125624}{10218313} \, \sqrt {31} \arctan \left (\frac {1}{31} \, \sqrt {31} {\left (10 \, x + 3\right )}\right ) + \frac {45800 \, x^{3} + 79660 \, x^{2} + 53968 \, x + 28901}{94178 \, {\left (25 \, x^{4} + 30 \, x^{3} + 29 \, x^{2} + 12 \, x + 4\right )}} - \frac {16}{343} \, \log \left (5 \, x^{2} + 3 \, x + 2\right ) + \frac {32}{343} \, \log \left (2 \, x + 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.13, size = 82, normalized size = 0.92 \[ \frac {32\,\ln \left (x+\frac {1}{2}\right )}{343}-\ln \left (x+\frac {3}{10}-\frac {\sqrt {31}\,1{}\mathrm {i}}{10}\right )\,\left (\frac {16}{343}+\frac {\sqrt {31}\,62812{}\mathrm {i}}{10218313}\right )+\ln \left (x+\frac {3}{10}+\frac {\sqrt {31}\,1{}\mathrm {i}}{10}\right )\,\left (-\frac {16}{343}+\frac {\sqrt {31}\,62812{}\mathrm {i}}{10218313}\right )+\frac {\frac {916\,x^3}{47089}+\frac {1138\,x^2}{33635}+\frac {26984\,x}{1177225}+\frac {28901}{2354450}}{x^4+\frac {6\,x^3}{5}+\frac {29\,x^2}{25}+\frac {12\,x}{25}+\frac {4}{25}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.25, size = 90, normalized size = 1.01 \[ \frac {45800 x^{3} + 79660 x^{2} + 53968 x + 28901}{2354450 x^{4} + 2825340 x^{3} + 2731162 x^{2} + 1130136 x + 376712} + \frac {32 \log {\left (x + \frac {1}{2} \right )}}{343} - \frac {16 \log {\left (x^{2} + \frac {3 x}{5} + \frac {2}{5} \right )}}{343} + \frac {125624 \sqrt {31} \operatorname {atan}{\left (\frac {10 \sqrt {31} x}{31} + \frac {3 \sqrt {31}}{31} \right )}}{10218313} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________